To create a new text classifier/model, you need dataset. So there are two steps in creating a new Text classifier:
Preparing Datasets
The Text Classification page displays two tabs namely Dataset and Model.
The first column, "Text" should include the narrative text obtained from different sources such as emails, historical records, databases, applications, or blogs. The second column "Class" should define the corresponding class of the Text. The following image shows a sample dataset used to train the Sentiment Classifier:
To prepare datasets, you can refer the section Guidelines to prepare datasets for NLP.
Creating/Training a Classifier Model
Smart Bot provides a simplified solution to train custom text classifiers requiring extensive data science knowledge and expertise. For example, you can prepare a custom model from a dataset containing sample text classified into different categories.
Model page helps to select uploaded datasets from which you can train the model.
Creating Text Classifier Models
The Text Classification page displays two tabs namely Dataset and Model.
Classifier Configuration window is displayed.
This selection is optional and are for advanced user. The default method is SVM.
A model is created in the list with the status ‘In Progress’. The Smart Bot will take some time to train the classifier based on the size of the dataset. When the training is completed, Smart Bot will update the status to ’Completed’.
The Smart Bot also provides the model accuracy in terms of Accuracy score, Precision, and Recall.
Precision-Recall is a valuable measure of the success of prediction when the classes are very imbalanced. For example, precision measures result in relevance in information retrieval, whereas a recall measures how many truly relevant results are returned.